package Test12;

public class Student {
    String name;
    int age;
    String school;

    //需求：默认为清华大学
    public Student() {
        //表示调用本类其他构造方法
        //细节：虚拟机就不会在添加super()
        this(null, 0, "清华大学");
        System.out.println("1234");
    }

    public Student(String name, int age, String school) {
        this.name = name;
        this.age = age;
        this.school = school;
    }
}
